<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>document2html: excel::Operand Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">document2html
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Documents to HTML converter</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classexcel_1_1_operand.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classexcel_1_1_operand-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">excel::Operand Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Evaluating formulas operands.  
 <a href="classexcel_1_1_operand.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="formula_8hpp_source.html">formula.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8d80c1fa4ea1c88ef853d1cb9b7e94c4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcel_1_1_operand.html#a8d80c1fa4ea1c88ef853d1cb9b7e94c4">Operand</a> (int kind=-5, const std::vector&lt; <a class="el" href="classexcel_1_1_ref3_d.html">Ref3D</a> &gt; &amp;value={}, int rank=0, const std::string &amp;text=&quot;?&quot;, const std::string &amp;textValue=&quot;&quot;)</td></tr>
<tr class="separator:a8d80c1fa4ea1c88ef853d1cb9b7e94c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:acc43d5d92515935d96079520e88152e9"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classexcel_1_1_ref3_d.html">Ref3D</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcel_1_1_operand.html#acc43d5d92515935d96079520e88152e9">m_value</a></td></tr>
<tr class="separator:acc43d5d92515935d96079520e88152e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab91afd7f49b70a0da3cd191d9348de6b"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcel_1_1_operand.html#ab91afd7f49b70a0da3cd191d9348de6b">m_textValue</a></td></tr>
<tr class="separator:ab91afd7f49b70a0da3cd191d9348de6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a7a65d1b900e6e7900db964e13ce29f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcel_1_1_operand.html#a3a7a65d1b900e6e7900db964e13ce29f">m_kind</a> = <a class="el" href="namespaceexcel.html#aa67ebc56d57293344592aa4218596fbca92d4d2ce965e0798b5136c3312fda1ac">oUNK</a></td></tr>
<tr class="separator:a3a7a65d1b900e6e7900db964e13ce29f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85ad2e32abe8d82b1407ca9aed1215db"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcel_1_1_operand.html#a85ad2e32abe8d82b1407ca9aed1215db">m_text</a> = &quot;?&quot;</td></tr>
<tr class="separator:a85ad2e32abe8d82b1407ca9aed1215db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afba444cd6804cb04e09ebabf41a6bfaf"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcel_1_1_operand.html#afba444cd6804cb04e09ebabf41a6bfaf">m_rank</a></td></tr>
<tr class="separator:afba444cd6804cb04e09ebabf41a6bfaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Evaluating formulas operands. </p>
<p>The following table describes kinds and how their values are represented </p><table class="doxtable">
<tr>
<th align="center">Kind symbol </th><th align="center">Kind number </th><th>Value representation  </th></tr>
<tr>
<td align="center">oBOOL </td><td align="center">3 </td><td>Boolean: 0 =&gt; False; 1 =&gt; True </td></tr>
<tr>
<td align="center">oERR </td><td align="center">4 </td><td>None, or error code (same as XL_CELL_ERROR in CELL class) </td></tr>
<tr>
<td align="center">oMSNG </td><td align="center">5 </td><td>Used by <a class="el" href="classexcel_1_1_excel.html" title="Excel files (xls/xlsx) into HTML сonverter. ">Excel</a> as placeholder for missing function argument </td></tr>
<tr>
<td align="center">oNUM </td><td align="center">2 </td><td>Float. <a class="el" href="classexcel_1_1_note.html" title="Represents user &quot;comment&quot; or &quot;note&quot; object. ">Note</a> that there is no way of distinguishing dates </td></tr>
<tr>
<td align="center">oREF </td><td align="center">-1 </td><td>Value is either None or non-empty list of absolute <a class="el" href="classexcel_1_1_ref3_d.html" title="Represents an absolute or relative 3-dimensional reference to box of one or more cells. ">Ref3D</a> instances </td></tr>
<tr>
<td align="center">oREL </td><td align="center">-2 </td><td>Value is None or non-empty list of fully/partially relative <a class="el" href="classexcel_1_1_ref3_d.html" title="Represents an absolute or relative 3-dimensional reference to box of one or more cells. ">Ref3D</a> instances </td></tr>
<tr>
<td align="center">oSTRG </td><td align="center">1 </td><td>Unicode string </td></tr>
<tr>
<td align="center">oUNK </td><td align="center">0 </td><td>Kind is unknown or ambiguous. Value is None </td></tr>
</table>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a8d80c1fa4ea1c88ef853d1cb9b7e94c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d80c1fa4ea1c88ef853d1cb9b7e94c4">&#9670;&nbsp;</a></span>Operand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">excel::Operand::Operand </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>kind</em> = <code>-5</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="classexcel_1_1_ref3_d.html">Ref3D</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>value</em> = <code>{}</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rank</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>text</em> = <code>&quot;?&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>textValue</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">kind</td><td><a class="el" href="classexcel_1_1_operand.html" title="Evaluating formulas operands. ">Operand</a> kind </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td><a class="el" href="classexcel_1_1_operand.html" title="Evaluating formulas operands. ">Operand</a> value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rank</td><td><a class="el" href="classexcel_1_1_operand.html" title="Evaluating formulas operands. ">Operand</a> rank </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">text</td><td>Reconstituted text of original formula </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">textValue</td><td><a class="el" href="classexcel_1_1_operand.html" title="Evaluating formulas operands. ">Operand</a> constant text value </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.0 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a3a7a65d1b900e6e7900db964e13ce29f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a7a65d1b900e6e7900db964e13ce29f">&#9670;&nbsp;</a></span>m_kind</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int excel::Operand::m_kind = <a class="el" href="namespaceexcel.html#aa67ebc56d57293344592aa4218596fbca92d4d2ce965e0798b5136c3312fda1ac">oUNK</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><a class="el" href="classexcel_1_1_operand.html" title="Evaluating formulas operands. ">Operand</a> kind. oUNK means that kind of operand is not known unambiguously </p>

</div>
</div>
<a id="afba444cd6804cb04e09ebabf41a6bfaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afba444cd6804cb04e09ebabf41a6bfaf">&#9670;&nbsp;</a></span>m_rank</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int excel::Operand::m_rank</td>
        </tr>
      </table>
</div><div class="memdoc">
<p><a class="el" href="classexcel_1_1_operand.html" title="Evaluating formulas operands. ">Operand</a> rank </p>

</div>
</div>
<a id="a85ad2e32abe8d82b1407ca9aed1215db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85ad2e32abe8d82b1407ca9aed1215db">&#9670;&nbsp;</a></span>m_text</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string excel::Operand::m_text = &quot;?&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Reconstituted text of original formula. Function names will be in English irrespective of original language, which doesn't seem to be recorded anywhere. Separator is ",", not ";" or whatever else might be more appropriate for end-user's locale </p>

</div>
</div>
<a id="ab91afd7f49b70a0da3cd191d9348de6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab91afd7f49b70a0da3cd191d9348de6b">&#9670;&nbsp;</a></span>m_textValue</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string excel::Operand::m_textValue</td>
        </tr>
      </table>
</div><div class="memdoc">
<p><a class="el" href="classexcel_1_1_operand.html" title="Evaluating formulas operands. ">Operand</a> constant text value </p>

</div>
</div>
<a id="acc43d5d92515935d96079520e88152e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc43d5d92515935d96079520e88152e9">&#9670;&nbsp;</a></span>m_value</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classexcel_1_1_ref3_d.html">Ref3D</a>&gt; excel::Operand::m_value</td>
        </tr>
      </table>
</div><div class="memdoc">
<p><a class="el" href="classexcel_1_1_operand.html" title="Evaluating formulas operands. ">Operand</a> value. None means that actual value of operand is a variable (depends on cell data), not a constant </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libs/fileext/excel/<a class="el" href="formula_8hpp_source.html">formula.hpp</a></li>
<li>src/libs/fileext/excel/<a class="el" href="formula_8cpp.html">formula.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceexcel.html">excel</a></li><li class="navelem"><a class="el" href="classexcel_1_1_operand.html">Operand</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
